package com.example.androidproject.wallpaper.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class WallpaperBean {

    /**
     * status : 0
     * message : 获取成功
     * data : [{"id":1,"title":"齐刘海发型性感丰满吊带衣美女高清摄影手机壁纸图片","src":"https://pic.3gbizhi.com/2021/1227/20211227093558523.jpg.238.390.jpg","classify":"美女"},{"id":2,"title":"性感吊带衣美女侧颜手机壁纸图片","src":"https://pic.3gbizhi.com/2021/1227/20211227093558946.jpg.238.390.jpg","classify":"美女"},{"id":3,"title":"雷神之锤，手拿斧头，眼带闪电的雷神酷飒手机壁纸","src":"https://pic.3gbizhi.com/2021/0831/20210831094413150.jpg.238.390.jpg","classify":"影视"},{"id":4,"title":"性感好看的丝袜内衣美女小姐姐车模手机壁纸图片","src":"https://pic.3gbizhi.com/2021/1222/20211222082139549.jpg.238.390.jpg","classify":"美女"},{"id":5,"title":"穿着牛仔衣服裤子的小李子\u201c莱昂纳多\u201d","src":"https://pic.3gbizhi.com/2019/1120/20191120090247406.jpg.238.390.jpg","classify":"明星"},{"id":6,"title":"坐在窗台双手撑脸的长发清纯美女","src":"https://pic.3gbizhi.com/2020/1010/20201010013816915.jpg.238.390.jpg","classify":"美女"},{"id":7,"title":"喷火的火龙霸气手机壁纸图片","src":"https://pic.3gbizhi.com/2021/0831/20210831092855488.jpg.238.390.jpg","classify":"影视"},{"id":8,"title":"柳夜熙国风仿妆美女高清酷美手机壁纸图片","src":"https://pic.3gbizhi.com/2021/1207/20211207092221875.jpg.238.390.jpg","classify":"美女"},{"id":9,"title":"沙滩摄影穿牛仔裤的长发美女","src":"https://pic.3gbizhi.com/2020/0930/20200930113611304.jpg.238.390.jpg","classify":"美女"},{"id":10,"title":"功夫大师李小龙黑色背景手机壁纸图片","src":"https://pic.3gbizhi.com/2019/1105/20191105121529109.jpg.238.390.jpg","classify":"明星"},{"id":11,"title":"喷火的蓝龙高清手机壁纸图片","src":"https://pic.3gbizhi.com/2021/0831/20210831092855327.jpg.238.390.jpg","classify":"影视"},{"id":12,"title":"美女鞠婧祎餐厅自拍写真手机壁纸","src":"https://pic.3gbizhi.com/2019/1031/20191031040432540.jpg.238.390.jpg","classify":"明星"},{"id":13,"title":"性感丰满的气质女人高清手机壁纸","src":"https://pic.3gbizhi.com/2021/1105/20211105072631483.jpg.238.390.jpg","classify":"美女"},{"id":14,"title":"站在海中穿着蓝色蕾丝泳衣的清纯美女","src":"https://pic.3gbizhi.com/2020/0929/20200929095007911.jpg.238.390.jpg","classify":"美女"},{"id":15,"title":"战火里的二战士兵电影海报手机壁纸图片","src":"https://pic.3gbizhi.com/2020/1019/20201019113058832.jpg.238.390.jpg","classify":"影视"}]
     * total : 1459
     */

    private int status;
    private String message;
    private int total;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        /**
         * id : 1
         * title : 齐刘海发型性感丰满吊带衣美女高清摄影手机壁纸图片
         * src : https://pic.3gbizhi.com/2021/1227/20211227093558523.jpg.238.390.jpg
         * classify : 美女
         */

        private int id;
        private String title;
        private String src;
        private String classify;

        protected DataBean(Parcel in) {
            id = in.readInt();
            title = in.readString();
            src = in.readString();
            classify = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getSrc() {
            return src;
        }

        public void setSrc(String src) {
            this.src = src;
        }

        public String getClassify() {
            return classify;
        }

        public void setClassify(String classify) {
            this.classify = classify;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(id);
            dest.writeString(title);
            dest.writeString(src);
            dest.writeString(classify);
        }
    }
}
